package org.example.myleet.p1122;

public class Main2 {
    public static void main(String[] args) {
        //case 4 [21,11,26,20,1,18,34,50]
        int[] arr1 = new int[]{26,21,11,20,50,34,1,18};
        int[] arr2 = new int[]{21,11,26,20};
        Solution2 solution = new Solution2();
        int[] result = solution.relativeSortArray(arr1, arr2);
        System.out.println(result);
    }
}
